LC_CMD_RECT is a value for Command parameter of the
lcWndExeCommand function.
It starts interactive tool to add Rectangle objects into a drawing. CmdParam parameter can have the following values to activate specific modes:
Prm
Mode
0
Start command with previous mode
LC_RECT_2P
2 opposite corner points
LC_RECT_3P
3 points: 1st and 2nd define width and rotation, 3rd defines height
LC_RECT_CSA
Center point, Size, Rotation
When the command is started, before specifying first point, user can change the mode
by right click and then select mode from popup menu. See Also